/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.myself.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.myself.entity.DemoIntro;
import com.thinkgem.jeesite.modules.myself.dao.DemoIntroDao;

/**
 * 公司新闻Service
 * @author 大暑
 * @version 2019-09-23
 */
@Service
@Transactional(readOnly = true)
public class DemoIntroService extends CrudService<DemoIntroDao, DemoIntro> {

	public DemoIntro get(String id) {
		return super.get(id);
	}
	
	public DemoIntro findById(String id) {
		return super.get(id);
	}
	
	public List<DemoIntro> findList(DemoIntro demoIntro) {
		return super.findList(demoIntro);
	}
	
	public Page<DemoIntro> findPage(Page<DemoIntro> page, DemoIntro demoIntro) {
		return super.findPage(page, demoIntro);
	}
	
	@Transactional(readOnly = false)
	public void save(DemoIntro demoIntro) {
		super.save(demoIntro);
	}
	
	@Transactional(readOnly = false)
	public void delete(DemoIntro demoIntro) {
		super.delete(demoIntro);
	}
	
}